/*
 * 文件名：CarParkOutEx.java	 
 * 时     间：下午5:41:51
 * 作     者：lyf      
 * 版     权： 2012-2022 湖南智软网络科技, 公司保留所有权利.
 * 联     系：http://www.073586.com/
 */
package com.local.entity.ex;

import java.util.Date;

import com.cz073586.tools.util.Tools;
import com.local.model.CarParkIn;
import com.local.model.CarParkOut;
import com.local.util.MyDateUtil;

/**
 * 类描述:这里是类描述
 * 
 * @ClassName: CarParkOutEx
 * @author Administrator
 * @date 2015年11月3日 下午5:41:51
 */
public class CarParkOutEx extends CarParkOut
{
	/**
	 * 路口名
	 */
	private String roadName;
	
	/**
	 * 路口uuid
	 */
	private String roadUuid;
	
	private String carInNo;
	private String carInImage1;
	
	private String carInimage2;
	
	/**
	 * 进场时间
	 */
	private Date carInCreatTime;
	
	// 停车时间
	private Long stayTime;
	
	// 消费总额
	private Double totalMoney = 0d;
	
	// 中文，停车时间
	private String parkTime;
	
	/**
	 * 车辆类型
	 */
	private String carTypeName;
	
	public String getCarTypeName()
	{
		return carTypeName;
	}
	
	public void setCarTypeName(String carTypeName)
	{
		this.carTypeName = carTypeName;
	}
	
	public String getParkTime()
	{
		if (!Tools.isEmpty(this.getStayTime()))
		{
			return MyDateUtil.periodToString(this.getStayTime());
		}
		return "异常";
		// return
		// this.getStayTime()/3600*1000+"时"+(this.getStayTime()%3600*1000)/60+"分"+(this.getStayTime()%3600*1000)%60+"秒";
	}
	
	public void setParkTime(String parkTime)
	{
		this.parkTime = parkTime;
	}
	
	public Long getStayTime()
	{
		return stayTime;
	}
	
	public void setStayTime(Long stayTime)
	{
		this.stayTime = stayTime;
	}
	
	public Double getTotalMoney()
	{
		return totalMoney;
	}
	
	public void setTotalMoney(Double totalMoney)
	{
		this.totalMoney = totalMoney;
	}
	
	public String getCarInNo()
	{
		return carInNo;
	}
	
	public void setCarInNo(String carInNo)
	{
		this.carInNo = carInNo;
	}
	
	public String getCarInImage1()
	{
		return carInImage1;
	}
	
	public void setCarInImage1(String carInImage1)
	{
		this.carInImage1 = carInImage1;
	}
	
	public String getCarInimage2()
	{
		return carInimage2;
	}
	
	public void setCarInimage2(String carInimage2)
	{
		this.carInimage2 = carInimage2;
	}
	
	/**
	 * 进场信息
	 */
	private CarParkIn carInInfo;
	
	public String getRoadName()
	{
		return roadName;
	}
	
	public void setRoadName(String roadName)
	{
		this.roadName = roadName;
	}
	
	public String getRoadUuid()
	{
		return roadUuid;
	}
	
	public void setRoadUuid(String roadUuid)
	{
		this.roadUuid = roadUuid;
	}
	
	public CarParkIn getCarInInfo()
	{
		return carInInfo;
	}
	
	public void setCarInInfo(CarParkIn carInInfo)
	{
		this.carInInfo = carInInfo;
	}
	
	public Date getCarInCreatTime()
	{
		return carInCreatTime;
	}
	
	public void setCarInCreatTime(Date carInCreatTime)
	{
		this.carInCreatTime = carInCreatTime;
	}
	
}
